<template>
	<view style="background-color: #FFFFFF;">
		<view class="demo-layout bg-purple" :style="{backgroundImage: 'url(https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=1324789150,2481752067&fm=26&gp=0.jpg)',backgroundSize: '100%'}">
			<u-row>
				<u-col span="2" ><text style="color: #000000;">1</text></u-col>
				<u-col span="3">
					<image :src="imgs" class="imagehead" mode="aspectFill"></image>
				</u-col>
				<u-col span="6">
					<u-row >
						<u-col span="12" style="font-size: 40rpx;color: #FFFFFF;margin-top: 50rpx;">
							<!-- 传进来的社区名字 -->
							{{community.name}}
						</u-col>
					</u-row>
					<u-row>
		
						<u-col pan="12" style="font-size: 20rpx;color: #fff;margin-top: 15rpx;">
							<text space="ensp">
								<!-- 社区地址，应该传进来的，先写一个静态 -->
								<u-icon name="home"></u-icon>: {{community.address}}
							</text>
							
						</u-col>
					</u-row>
				</u-col>
				<u-col span="1" ><text style="color:#2B85E4;"></text></u-col>
			</u-row>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				imgs:this.community.img
			}
		},
		methods: {
			
		},
		
		props:["community"],
		
	}
</script>

<style>
.uni-padding-wrap {
		padding: 300upx;
		color: $u-type-warning;
	}


	.demo-layout {
		height: 300rpx;
		border-radius: 8rpx;
	}

	.bg-purple {
		background: #d3dce6;
	}

	.bg-purple-light {
		background: #e5e9f2;
	}

	.bg-purple-dark {
		background: #99a9bf;
	}

	.imagehead {
		width: 150rpx;
		height: 150rpx;
		margin-top: 40rpx;
		border-radius: 30upx;

	}

	.pices {
		height: 100%;
	}
</style>
